ArcPad Layer Definition File Schema
QUERY Element
See Also  Send comments on this topic.
ArcPad Layer Definition File Schema > ArcPad Element > LAYER Element : QUERY Element

Glossary Item Box

Description

Defines a filter, or definition query, for an AXF layer.

Diagram

QUERY Element

Overview

QUERY
Defines a filter, or definition query, for an AXF layer.
where required xs:string
The filter that is used as part of the WHERE clause in the SQL SELECT statement used to draw the AXF layer.

Attributes

NameTypeUseDefaultFixedDescription
wherexs:stringrequired  The filter that is used as part of the WHERE clause in the SQL SELECT statement used to draw the AXF layer.

Remarks

The QUERY element is only supported for AXF layers.

Examples

Layer definition from an ArcPad AXF file Copy Code
<ArcPad>
      <LAYER name="Parcels">
            <SYMBOLOGY>
                  <SIMPLELABELRENDERER visible="false" field="APN">
                        <TEXTSYMBOL angle="0" fontcolor="0,0,0" font="Arial" fontsize="8" horzalignment="center" vertalignment="center" rtl="false"/>
                  </SIMPLELABELRENDERER>
                  <SIMPLERENDERER>
                        <COMPLEXPOLYGONSYMBOL fillcolor="252,236,202">
                              <OUTLINESYMBOL>
                                    <SIMPLELINESYMBOL color="110,110,110" width="0.4"/>
                              </OUTLINESYMBOL>
                        </COMPLEXPOLYGONSYMBOL>
                  </SIMPLERENDERER>
            </SYMBOLOGY>
            <QUERY where="[AREA] &gt; 20000"/>
      </LAYER>
</ArcPad>

Restrictions

This element is only supported for AXF layers.

Source

<xs:element name="QUERY" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>Defines a filter, or definition query, for an AXF layer.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:attribute name="where" use="required" type="xs:string">
      <xs:annotation>
        <xs:documentation>The filter that is used as part of the WHERE clause in the SQL SELECT statement used to draw the AXF layer.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:element>

See Also

© 2012 All Rights Reserved.